package com.itfreer.data.app.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

import com.itfreer.form.api.entity.EntityBase;

/**
 * app信息表
 */
@Entity(name = "sso_app_info")
public class AppInfoEntity extends EntityBase implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * id值，主键，唯一值 系统应用中必需关联此值
	 */
	@Id
	@Column(name = "id", length = 50, nullable = false)
	private String id;

	/**
	 * 代码值
	 */
	@Column(name = "s_code", length = 50, nullable = true)
	private String code;

	/**
	 * 显示名称
	 */
	@Column(name = "s_display", length = 50, nullable = true)
	private String display;

	/**
	 * 拼音简称
	 */
	@Column(name = "s_abbreviation", length = 50, nullable = true)
	private String abbreviation;

	/**
	 * 排序值
	 */
	@Column(name = "i_order", nullable = true)
	private Integer order;

	/**
	 * 是否有效
	 */
	@Column(name = "b_valid", nullable = true)
	private Boolean valid = true;

	/**
	 * 备注
	 */
	@Column(name = "info", length = 254, nullable = true)
	private String info;

	/**
	 * id值，主键，唯一值 系统应用中必需关联此值
	 */
	public String getId() {
		return id;
	}

	/**
	 * id值，主键，唯一值 系统应用中必需关联此值
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 代码值
	 */
	public String getCode() {
		return code;
	}

	/**
	 * 代码值
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * 显示名称
	 */
	public String getDisplay() {
		return display;
	}

	/**
	 * 显示名称
	 */
	public void setDisplay(String display) {
		this.display = display;
	}

	/**
	 * 拼音简称
	 */
	public String getAbbreviation() {
		return abbreviation;
	}

	/**
	 * 拼音简称
	 */
	public void setAbbreviation(String abbreviation) {
		this.abbreviation = abbreviation;
	}

	/**
	 * 排序值
	 */
	public Integer getOrder() {
		return order;
	}

	/**
	 * 排序值
	 */
	public void setOrder(Integer order) {
		this.order = order;
	}

	/**
	 * 是否有效
	 */
	public Boolean getValid() {
		return valid;
	}

	/**
	 * 是否有效
	 */
	public void setValid(Boolean isValid) {
		this.valid = isValid;
	}

	/**
	 * 备注
	 */
	public String getInfo() {
		return info;
	}

	/**
	 * 备注
	 */
	public void setInfo(String info) {
		this.info = info;
	}
}
